<template>
  <div id="app">
    <router-view />
  </div>
</template>

<style lang="scss">
  html,
  body,
  #app {
    height: 100%;
    margin: 0px;
    padding: 0px;
  }

  #particles-js {
    width: 100%;
    height: calc(100% - 100px);
    position: absolute;
  }

  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
  }

  /* element-ui 下拉框在ios上 点击两次才能选中 */
  .el-scrollbar {
    >.el-scrollbar__bar {
      opacity: 1 !important;
    }
  }

  #nav {
    padding: 30px;

    a {
      font-weight: bold;
      color: #2c3e50;

      &.router-link-exact-active {
        color: #42b983;
      }
    }
  }

  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0;
  }

  ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.15);
    transition: color 0.2s ease;
  }
</style>